package services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import properties.DemoProperties;

@Service
public class DemoService {
    @Autowired
    private DemoProperties demoProperties;

    public String play() {
        return demoProperties.getName() + ", " + demoProperties.getSex() + ", " + demoProperties.getAge();
    }
}